/**
 * @file       file_lock.h
 * @brief      
 * @author     LiuJkun
 * @version    1.0.0
 */

/*********************************************************************
 *  LiuJikun   01/16/10      Initial Version
 *********************************************************************/

#ifndef  FILE_LOCK_INC
#define  FILE_LOCK_INC
void lock_read( int fd, off_t offset, off_t len );
void lock_write( int fd, off_t offset, off_t len );
void unlock_file( int fd, off_t offset, off_t len );
#endif   // ----- #ifndef FILE_LOCK_INC  -----
